package com.kangye.learnstudent.mapper;

import com.kangye.learnstudent.entity.Subject;

import com.kangye.learnstudent.entity.User;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @program: learndeduo
 * @description: 学科接口
 * @author: stl
 * @create: 2021-05-17 09:30
 **/
@Repository
@Mapper
public interface SubjectMapper {

    //查询所有的课程名
    public List<Subject> getSubject(User user);

    //根据年级查科目
    List<Subject> selSubject(Integer subjectGradeId);


}